package com.ali.ttt.api.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author : yuxl
 * @create 2024/6/27 11:33 AM
 */
@Slf4j
@RestController
@RequestMapping("/api")
@Api(tags = "API工具")
public class ApiController {

    @GetMapping
    @ApiOperation(value = "你好")
    public String hi() {
        return "hi-api";
    }
}
